export const checkAccount = (account) => {
  const accountRegexs = [
    /^1[3456789]\d{9}$/, //phone
    /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/, //email
  ];
  for (let reg of accountRegexs) {
    if (reg.test(account)) {
      return true;
    }
  }
  return false;
};
